CommonEvent 7354
Name = "グロリア：勝利"

  999([7354])
  ShowPicture([5, "80_mob_kaizoku3_st01", 0, 0, 0, 0, 100, 100, 255, 0])
  ErasePicture([6])
  ShowTextAttributes(["mob_kaizoku3_fc1", 1, 0, 2])
  ShowText(["\\n<Gloria>As expected of the famous hero...\nI've been defeated."])
  ShowText([""])
  ShowText([""])
  PlaySE(["RPG::SE(@name=\"mon_lvup\", @pitch=100, @volume=100)"])
  ControlSwitches([98, 98, 1])
  ControlSwitches([96, 96, 1])
  ShowTextAttributes(["", 0, 0, 2])
  ShowText(["Luka emerged from the battle fuck victorious!"])
  ConditionalBranch([1, 836, 0, 2, 1])
    ShowTextAttributes(["mob_kaizoku3_fc1", 1, 0, 2])
    ShowText(["\\n<Gloria>I don't have any more prizes.\nThis business isn't good enough for me to keep giving you things..."])
    ShowText([""])
    ShowText([""])
    Empty([])

  Else([])
    ShowTextAttributes(["mob_kaizoku3_fc1", 1, 0, 2])
    ShowText(["\\n<Gloria>Then as promised, you can have the Gloria Pirates' treasure. It's a special accessory that halves MP consumption."])
    ShowText([""])
    ShowText([""])
    PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
    ChangeArmor([1093, 0, 0, 1, false])
    ControlVariables([836, 836, 0, 0, 2])
    CallCommonEvent([6999])
    Empty([])

  BranchEnd([])
  ConditionalBranch([0, 2331, 1])
    ConditionalBranch([1, 1143, 0, 9, 2])
      ConditionalBranch([1, 1089, 0, 1, 0])
        ControlVariables([1089, 1089, 0, 0, 2])
        PlayBGM(["RPG::BGM(@name=\"scene_epilogue2\", @volume=100, @pitch=100)"])
        ConditionalBranch([0, 2148, 0])
          ShowTextAttributes(["tatunoko_k_fc1", 1, 0, 2])
          ShowText(["\\n<Tatsuko>This is our victory!\nAs promised, we're arresting you!"])
          ShowText([""])
          ShowText([""])
          ShowTextAttributes(["mob_kaizoku3_fc1", 1, 0, 2])
          ShowText(["\\n<Gloria>I lost, so it can't be helped...\nGo on, arrest me."])
          ShowText([""])
          ShowText([""])
          ShowTextAttributes(["", 0, 0, 2])
          ShowText(["Gloria was arrested by the Navy..."])
          ShowTextAttributes(["umiusi_k_fc1", 1, 0, 2])
          ShowText(["\\n<Stacy>We've successfully carried out our mission!\nNow let's head back!"])
          ShowText([""])
          ShowText([""])
          Empty([])

        BranchEnd([])
        ConditionalBranch([0, 2149, 0])
          ShowTextAttributes(["bonny_fc1", 1, 0, 2])
          ShowText(["\\n<Bonnie>We won the challenge!"])
          ShowText([""])
          ShowTextAttributes(["mob_kaizoku3_fc1", 1, 0, 2])
          ShowText(["\\n<Gloria>Alas, I admit defeat..."])
          ShowText([""])
          ShowTextAttributes(["ashel_fc1", 1, 0, 2])
          ShowText(["\\n<Ashel>Our longtime rivalry is finally over.\nAll right, let's head back!"])
          ShowText([""])
          ShowText([""])
          Empty([])

        BranchEnd([])
        ShowTextAttributes(["", 0, 0, 2])
        ShowText(["Thus, we had triumphed over the Gloria Pirates.\nWe boarded the MS Fish and returned to land in high spirits--"])
        ShowText([""])
        FadeoutScreen([])
        PlaySE(["RPG::SE(@name=\"Water1\", @pitch=100, @volume=80)"])
        ErasePicture([5])
        Wait([60])
        TransferPlayer([0, 2, 335, 240, 4, 2])
        SetVehicleLocation([1, 0, 2, 334, 240])
        FadeinScreen([])
        ConditionalBranch([0, 2148, 0])
          ShowTextAttributes(["tatunoko_k_fc1", 2, 0, 2])
          ShowText(["\\n<Tatsuko>I was contacted by the Navy Headquarters.\nThe Gloria Pirates paid a huge sum of money and were released on bail."])
          ShowText([""])
          ShowText([""])
          ShowTextAttributes(["umiusi_k_fc1", 0, 0, 2])
          ShowText(["\\n<Stacy>It seems the MS Gloria is still in this area of the sea. We'll be surveilling it so they won't be able to cause mischief for a while."])
          ShowText([""])
          ShowText([""])
          Empty([])

        BranchEnd([])
        ConditionalBranch([0, 2149, 0])
          ShowTextAttributes(["bonny_fc1", 0, 0, 2])
          ShowText(["\\n<Bonnie>Hey, I received a letter from the Gloria Pirates. \"If you want to have a battle fuck, you're welcome at any time.\""])
          ShowText([""])
          ShowText([""])
          ShowTextAttributes(["ashel_fc1", 0, 0, 2])
          ShowText(["\\n<Ashel>Good grief, that lot will never learn their lesson..."])
          ShowText([""])
          Empty([])

        BranchEnd([])
        ConditionalBranch([0, 6, 0])
          ShowTextAttributes(["sonia_fc1", 3, 0, 2])
          ShowText(["\\n<Sonya>Oh, they want to battle fuck again.\nIsn't that nice Luka, you can battle fuck with them again..."])
          ShowText([""])
          ShowText([""])
          ShowTextAttributes(["ruka_fc1", 0, 0, 2])
          ShowText(["\\n<Luka>............"])
          ShowText([""])
          Empty([])

        BranchEnd([])
        Script(["gain_medal(2108)"])
        ExitEventProcessing([])
        Empty([])

      Else([])
        Empty([])

      BranchEnd([])
      Empty([])

    BranchEnd([])
    Empty([])

  BranchEnd([])
  ShowTextAttributes(["mob_kaizoku3_fc1", 1, 0, 2])
  ShowText(["\\n<Gloria>I've really taken a liking to you.\nI'm looking forward to battle fucking with you as many times as I can."])
  ShowText([""])
  ShowText([""])
  ConditionalBranch([0, 443, 0])
    ExitEventProcessing([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([0, 2331, 1])
    ErasePicture([5])
    ConditionalBranch([1, 1143, 0, 9, 2])
      PlayBGM(["RPG::BGM(@name=\"kiki4\", @volume=100, @pitch=100)"])
      Empty([])

    BranchEnd([])
    ConditionalBranch([1, 1143, 0, 10, 1])
      ControlVariables([57, 57, 0, 0, 1459])
      TransferPlayer([0, 459, 53, 26, 8, 0])
      PlayBGM(["RPG::BGM(@name=\"city1\", @volume=100, @pitch=100)"])
      Empty([])

    BranchEnd([])
    Empty([])

  BranchEnd([])
  ExitEventProcessing([])
  Empty([])
